14.2. error XML Element

Name

error

Purpose

Error responses, particularly 403 Forbidden and 409 Conflict, sometimes need more information to indicate what went wrong. In these cases, servers MAY return an XML response body with a document element of ‘error’, containing child elements identifying particular condition codes.

Description

Contains at least one XML element, and MUST NOT contain text or mixed content. Any element that is a child of the ‘error’ element and is not the description element is considered to be a precondition or postcondition code. Unrecognized elements MUST be ignored.

<!ELEMENT error ANY >